#ifndef __TOUCH_EVENT_H__
#define __TOUCH_EVENT_H__

#include "gofgame/common/ui/ComponentEventArgs.h"
#include <cocos2d.h>
using namespace cocos2d;
using namespace gofgame::common::ui;

namespace gofgame {
	namespace common {
		namespace ui {

			struct TouchEventArgs : public ComponentEventArgs {
			public:
				TouchEventArgs(Component *sourceComponent, const CCPoint &point);

				const CCPoint &getLocation() const;

			private:
				CCPoint location;
			};
		}
	}
}

#endif //__TOUCH_EVENT_H__
